package com.kgc.scd.service;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

/**
 * Created On : 2022/6/18.
 * <p>
 * Author     : 98730
 * <p>
 * Description: SecKillMQFeignService
 */
@FeignClient("blmall-activemq")
public interface SecKillMQFeignService {

    /**
     * @author : 98730
     * @date   : 2022/6/18
     * @param  : [java.lang.String, java.util.Map<java.lang.String,java.lang.String>]
     * @return : java.lang.String
     * @description : 生成订单、支付回调消息队列
     */
    @PostMapping("/payOrderResultNotifyMQ")
    String payOrderResultNotifyMQ(@RequestParam("mQName") String mQName, @RequestParam("resultMap") Map<String,String> resultMap);

}
